﻿<%@ Control Language="C#" %>
<script runat="server">
    
    protected void Page_Load(object sender, EventArgs e)
    {
        Comments comments = new Comments();
        Repeater_List.DataSource = comments.List_Comment_Reply(Item_Reply);
        Repeater_List.DataBind();
    }
    private int item_reply = 1;
    public int Item_Reply
    {
        get { return item_reply; }
        set { item_reply = value; }
    }

    private string username = "";
    public string UserName {
        get { return username; }
        set { username = value; }
    }
  
</script>

    <asp:Repeater runat="server" ID="Repeater_List">
        <ItemTemplate>
                <!--回复区域-->
                <div class="reply">
                    <b></b>
                    <div class="text">
                        <span><%=UserName %><%=Lang.Show("GiveUserReply")%></span>
                        <p><%#Eval("Item_Content")%></p>
                    </div>
                </div>
        </ItemTemplate>
    </asp:Repeater>

